#ifndef SOURCE_SERVER_H
#define SOURCE_SERVER_H

#include <QtNetwork/QTcpServer>
#include "global.h"

namespace smsrouter {

class SourceServer : public QTcpServer {
  Q_OBJECT
public:
  SourceServer(QObject *parent = 0);

signals:
  void newSession(int socket_descriptor);

protected:
  void incomingConnection(int socket_descriptor);
};

} // namespace smsrouter

#endif // SOURCE_SERVER_H
